package com.itheima.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.SmsHomeRecommendSubject;
import com.itheima.vo.PageResult;

/**
* @author lenovo
* @description 针对表【sms_home_recommend_subject(首页推荐专题表)】的数据库操作Service
* @createDate 2022-10-11 14:26:18
*/
public interface SmsHomeRecommendSubjectApi{

    //添加首页推荐专题
    void create(SmsHomeRecommendSubject recommendSubject);

    //删除推荐
    void delete(Integer id);

    //分页查询推荐
    PageResult list(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    //修改推荐状态
    void updateStatus(Long id, Integer recommendStatus);

    //修改推荐排序
    void updateSortId(Long id, Integer sort);
}
